package com.xfreelance.qcshop.entity;


import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.sql.Timestamp;

@Data
public class User {
    @TableId(type = IdType.AUTO)
    private Long id;
    private String nickname;
    private String username;
    private String password;
    private String phone;
    private String wxOpenId;
    @TableField(fill = FieldFill.INSERT)
    private Timestamp createTime;
    @TableField(fill = FieldFill.UPDATE)
    private Timestamp updateTime;
    private Timestamp deleteTime;
    private Timestamp lastLoginTime;
    private Integer status;
}